added example files from book from http://examples.oreilly.com/9780596009205/