Code for problems in projecteuler.net