Solutions to problems from projecteuler.com