Project Euler problems solutions in python