Adds merge sort