binary search class implemented