add one and bug fix

find minimum in rotated sorted array