Create insertinterval.cpp

first one time pass maybe