A binary search tree implementation

Please note, I believe that this code is correct, but I have not yet completely debuged all of the routines.