cleanup mergesort
cleanup quicksort