Implemented binary search tree