Code for problem "Construct Binary Tree from Preorder and Inorder Traversal".