merge_sort: added mergesort done in c