Who gave Hammurabi the authority to write and enforce the Code of Hammurabi written?