Function to print all arguments one per line