added binsearch

Hi,
With reference to https://github.com/mr-orange/Sick-Beard/pull/719
I have changed the branch to Pistachitos.
If everything is ok,
could you please merge it at the earliest?
Thanks,
BrendenCA