Create flatten_tree2linklist.cc