code used to solve problems hosted at projecteuler.net