added ex11.rb