Search in Rotated Sorted Array

Iterative version.