binarySearch() of RubyArray can now accept a block