Revert back xrange's after merge of PR #2318
xrange([0-9]) and xrange([0-9], [0-9]) -> range
Add imports xrange from sympy.core.compatibility