Binary serach in sorted array