Project Euler problems solved using python