/*
testBinNodes.cc  -- Program to 

Author: Larry Morell

Modification History
Date        Action
03/16/06  -- Original version

*/
using namespace std;
#include "Nodes.h"
#include <iostream>
#include <string>

int main () {
  string t;
  t = "dog";
  Node *r = new Node(t);
  printTree(r); 
  r = new BinNode(t,r,r);
  BinNode *x = new BinNode();
  t = "cat";
  x->setInfo(t);
  x->setLeft(r);
  x->setRight(r);
  r = new BinNode(t,x,x);
  r = new BinNode(t,r,r);
  printTree(r); 
  return 0;
}


