Mesopotamia: Writing, Reasoning and the Gods