Solutions to Project Euler with ruby