added ex36.rb