working on merge sort