add binary search tree algorithm