Interval Tree Python Class Method Parameters C