Updated Merge Sort