How were Egyptian farmers able to produce enough food to create a surplus?