Boku's take home exercise. Worked on in 2008.