First attempt at merge sort