Project Euler in Ruby this time