writing a list to a csv file,"writer = csv.writer(output, delimiter='\n')"