Update ex2.rb