Some code that I wrote while working through some of the problems posted on ProjectEuler.net.