Binary search implementation
Add unit test for binary_search method