Completed hangman application