This is the source code from the book The Big Nerd Ranch Guide