My implementation of a merge sort.