merge_sort_alloc: added mergesort done in c

This version allocates mememory.