Project Euler [python]