Interval Tree Python Class Example