merge linked list