Solution for Flatten Binary Tree into LinkedList.