Project Euler solutions in Ruby.