Working through some of the problems on projecteuler.net