added chapter 9 notes, chapter9.rb