Update Euler1-4.py to Python 3