Eugene wants to create a generic variadic function min. It must return the smallest item among two or more arguments and should have Ordered as its type constraint.
Eugene has already declared the Ordered constraint and has written a part of the algorithm of the min function. Your task is to help him write the rest of the algorithm of the min function, and also the missing code in the generic function declaration.