Script now iterates properly through a list instead of a string

Added extra ( ) so the list items are treated as a list instead of one large string

The part preventing it from working earlier had to do with it iterating over one large string vs iterating over each word as a list item. Remove the extra ( ) on lines 7 and 9 and look what happens on the echo statements on 18 and 26 to see what I mean.