Update insert_intervals.cc

add comments