example of binary search tree from lecture