Flatten Binary Tree to Linked List non-recursion