added ex35.rb
added ex35.rb