game of hangman that randomly chooses a word from a list of 20 words stored in an array of word.