list_output is printing what I want it to in the format I want