mergeSortImplementation

implement merge sort