For Merge Sort Algorithm