Adding merge sort.