create a file

Search in sorted circular array.
Assuming array elements are distinct - to use binary search.