Add bsearch: binary search using lambda.