Update binary_search.rb

Used the native Ruby index method to remove need for get_index implementation
Merge pull request #2 from FrancoB411/patch-2

Update binary_search.rb