Solve 489 - Hangman Judge.