Solution code to problems on www.projecteuler.net