chapter10/ex01.rb