def __eq__(self, other):
    return (isinstance(other, ForwardMove) and (self.start_index == other.start_index) and (self.end_index == other.end_index))
def __eq__(self, other):
    return (isinstance(other, ForwardMove) and (self.start_index == other.start_index) and (self.end_index == other.end_index))