Cleaning up merge sort