Implement Greatest function as Variable-arity function