Tiger's sad Project Euler in Ruby