Fixed iterative implementation.

Needed to expand edict to handle an input array as well as a string for
adding words/checking words.
Which means I don’t need to condense the lists into strings to check
paths.