construct binary tree from preorder, inorder, postorder