Fiddling with attempts to print results of a function to a file. Hung up on print requiring a string.