very important from preorder and inorder in constructing the tree