Update merge_intervals.c

add comments