Merge Sort in matlab