My solution to http://cs.smith.edu/~thiebaut/classes/112/112.html