Exercise ex1.rb