public ArrayList<Change> toList() {
      ArrayList<Change> result = new ArrayList<>();
      Change current = this;
      while (current != null) {
        result.add(current);
        current = current.link;
      }
      return result;
    }
public ArrayList<Change> toList()