Trying to add words to array to print added words