created functions to combine relevant punctuation together (+= ++) and also find/combine strings in an array