Find Minimum in Rotated Sorted Array with duplicates.
Refactor