Code for problems from ProjectEuler.com