Going through projecteuler.net, solving problems