Added Barry's bsearch function

Added my function