Finished ch2.rb