ex11.rb improved learn ruby the hard way