Solving problems from http://projecteuler.net