Update exercise3.rb