Solve the projecteuler.com problem. My code.