Create mergeIntervals.java