Solutions to Project Euler (projecteuler.net) problems