Gaza flooding drives 40,000 from their homes