Update code sample for chapter 9.
Merge pull request #108 from jbcrail/update-ch09-sample

Update code sample for chapter 9.