Added min stack and find minimum in rotated sorted array