Create insertinterval.cpp