Wrote an evaluation function, so now have a rudimentary working program