Creates an IntervalTree object.
intervals – A list or numpy.array containing the intervals (list of two numbers).