Adding mergesort