added ex20.rb
changed ex20.rb