Finished implementing merge-sort