How did the physical environment aid the early Egyptians in building their civilization?