one similarity found in both egyptian and sumerian civilizations is that each developed