Code for problems at http://projecteuler.net/