Variadic function implementation.
A function with a variable number of arguments.