added c implementation of merge sort