IntervalTreeMap added two method to test interval overlapping