this code will show you how to insert and print inorder,postorder values in tree