Function that returns the range of points between two stops