Solved Insert Interval Problem