Programming project from "The Programmers Idea Book"