added binary search
Merge pull request #183 from pfalabella/binary_search

added binary search