Move range to rangeobject.py