public void print()
{
    if (root == null )
    {
       System.out.println("This TreeBag is empty.");
    }else
    {
    	System.out.println("inordered");
        root.inorderPrint();
        
        System.out.println("preodered");
        root.preorderPrint();
        
        System.out.println("postodered");
        root.postorderPrint();
        
    }
}