Program to construct tree from given Inorder and Preorder traversals