Finished merge-sort