Create Find Min element in a rotated array