Improve the code

MergeIntervals.java class