Create InsertInterval.cpp

my code is too long, I think I should figure out a better way to make it shorter.