Hammurabi game written in Java for an assignment