Wrote a merge sort