Implement brute force binary search algorithm using subclass.