Stanford CS106A Assignment 4 Solution (Hangman)