Create intervalsInsert.cpp