Improved the hangman program to be faster and record the number of wrong guesses.