Project Euler (Ruby)