Project Euler (python)