
/**
 * Write a description of class FunWithTrees here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class FunWithTrees
{
    public static void main(String[] args) {
        
        BTNode<String> myNode = new BTNode<String>("Hello");
        BTNode<String> myNode2 = new BTNode<String>("World");
        
        BTNode<String> myNode3 = new BTNode<String>("Sup", myNode2, myNode);
        
        
        //System.out.println(myNode3.getData());
        
        myNode3.preorderPrint();
        System.out.println();
        System.out.println();
        
        myNode3.inorderPrint();
        System.out.println();
        System.out.println();

        myNode3.postorderPrint();
        System.out.println();
        System.out.println();

        
    }

}
