added chapter 5 notes, chapter5.rb