Problems from projecteuler.net solved using Ruby