Solutions to problems from projecteuler.net.