Adding rotating binary search.