Improved dictionary script. Solved bug in an if clause (it wasn't
closed).

* checks if a word exists in the dictionary before insert it (or in
the list).
* list words are now comma separated.
* lists are erased when last word is removed.