update construct binary tree from preorder and inorder solution