add lc flatten binary tree to linked list (recursive solution)