making some changes to hangman for better user game play