Flatten Binary Tree to LinkedList (correction)