This program tests out whether there is a series or charaters in a list of different words that are saved in an array