Ruby solutions to problems from projecteuler.net