Create Construct Binary Tree from Preorder and Inorder Traversal (pyemma)