Add binary search Ruby implementation.