Sorting Linked list: Merging code in progress