code for the problems on projecteuler.net