how did the Nile river and the sorrounding area help protect egypt