Binary Search

I am finding it very hard to implement binary search.
Someone please find me a way out :frowning: