code: public DiscreteInterval plus(DiscreteInterval other) {
          return new DiscreteInterval(this.min + other.min, this.max + other.max);
      }
docs: Returns an interval representing the addition of the
  given interval with this one.
  @param other interval to add to this one
  @return interval sum