mergesort in C for ints