Change BinarySearch to BinarySearchTree   closes #330