algo4: binarysearch: Search in rotated sorted array