Update ex16.rb