Solving projecteuler.net problems