Solutions to projecteuler.net problems in Python