find the minimum in rotated sorted array solution added