Implement a binary search tree