My attempt at the problems at ProjectEuler.net