xrange -> range

updating problem 10 xrange for python 3