added binary search tree algorithm