Find Minimum in Rotated Sorted Array - add code logic to handle duplicates and test driver