Made changes to exercise1.rb