Finished merge sort with test