Added word logic

*Added smart creation of words
-Removed the program looping because it was unstable