Added chapter 9
Merge branch 'chpt9'