Code used to solve problems on projecteuler.net.