inorder and preorder given

make tree with two orders