bottom up merge sort works