Fixed typo in wordList().
Loop array and checkbox logic