Project Euler problems solved using Python