Working through the problems on projecteuler.net