my projecteuler.net work; written in Ruby