4.0 magnitude earthquake hits Afghanistan