Minor changes.
Implemented a add_words function