merge sort use malloc