solve the search in rotated Sorted Array.