Adding mergesort impl