solved Search in Rotated Sorted Array I && II: #1