Merge Sort algorithm in C