added ex14.rb