Create insertInterval.cpp