Simple implementation of an interval tree in Objective-C. ( http://en.wikipedia.org/wiki/Interval_tree )