def points_between(self, x1, x2):
    'returns (x,y) points'
    return [self.points[i] for i in self.indices_between(x1, x2)]
returns (x,y) points
def points_between(self, x1, x2):
    
    return [self.points[i] for i in self.indices_between(x1, x2)]