added problem11.rb.