The code of Hammurabi is an example of