Added preorder inorder and postorder traversal for the tre