Update euler23.py

change range to xrange