My code as I read through Daniel Shiffman's book, The Nature of Code. http://natureofcode.com/book/introduction/