I\'m trying to write a binary search method in Ruby and have found a strange situation in which my code doesn\'t return what I expect it to when I add two numbers together a