loop invariant for binary search - Search