Added Merge Intervals. Greedy algorithm, customize comparator