Add chapter08/ex04.rb