Implemented binary search
Added unit test for binary search