Implement a generic version of the BinarySearchTree class of Chapter 16.

Complete the following file:

BinarySearchTree.java

Use the following file:

TreeTester.java

public class TreeTester
{
   public static void main(String[] args)
   {
      BinarySearchTree<String> names = new BinarySearchTree<String>();
      names.add("Romeo");
      names.add("Juliet");
      names.add("Tom");
      names.add("Dick");
      names.add("Harry");
      names.print();
      System.out.println("Expected: Dick Harry Juliet Romeo Tom");
   }
}