Project Euler problems solved in Python