Binary search2

Pythonicity suggestion: this method can be simplified to:
![image](https://cloud.githubusercontent.com/assets/3474524/3545796/e6f7f00e-087a-11e4-801b-29f38d34c332.png)