If a man knocked out the eye of a free man, his eye shall be knocked out. I think this law is just because it will be an eye for an eye and it is also even and how Hammurabi said that the laws will protect the weak from the strong.
If a married lady is caught [in adultery] with another man, they shall bind them and cast them into the water. I think this law is just because a married woman should not be going out with another man that is not her husband.
If a son struck his father, his hand shall be cut off. I think this law is just because a son should have not struck his father and the payback is just because he will learn his leason.