Create mergeIntervals.cpp