Implement Array#bsearch