Create tree using preorder and inorder