Construct BT from inorder and preorder