Update ex5.rb