Slightly changed exercise4.rb