Merge sort in C