Add containsPoint method to IntervalSet