binary search

my code