merge linklist