working on Merge sort