almost done with binary search tree