Added a newline between each pair of substrings in compare.character