merge sort code in c