Create buildtree(preorder and inorder)