Merge sort in c