started chapter 10, chapter10.rb