My Project Euler solutions in Ruby