Create af-in to pr

if we have  inorder traversal, afterorder traversal，we need to calculate the Preorder traversal