Answers to Euler problems in Ruby