modify Search in Rotated Sorted Array