@Override
  public boolean equals(Object o) {
    if (o == this) return true;
    if (!(o instanceof ArrayExprent arr)) return false;

    return Objects.equals(array, arr.getArray()) &&
           Objects.equals(index, arr.getIndex());
  }
@Override
  public boolean equals(Object o)