Default to stdout since other code calls this method
Pass array to puts instead of iterating over it
Pass the string directly to the output method
Passing an empty array to puts prints nothing