merge linked list using recursion