Some Occam code for College project