Fixed regression in euler004.py