Implement Project Euler solutions in Ruby.