Found the sum of all letters for numbers 1 to 1,000 - in Ruby