Implemented basic binary search tree