preorder and inorder  build tree