Hangman game functions properly now