Working version for link list merge sort.