Implemented binary searcher