add pre,inorder and post traversal of binary tree