Implemented some binary search tree operations.