hangman coding
implemented matching of characters with words, and checking if hangman word has been solved etc. also added a short wordlist text file, to make unit tests pass faster.
pulled the word generator out of the main hangman file, to make it more readable and single responsibility. for some reason i get an error 'can not find module' when i try to require the wordgenerator inside the hangman.js file, I have no idea why.