mergesort solved