Flash floods kills 40 people in Afghanistan