Solution for Flatten Binary Tree to Linked List.