Create insert_intervals.c