add function rebuild full-binary-tree from preorder traverse