Project Euler Questions in Python