Solutions to Project Euler in Ruby