Add merge sort code.