PHP implementation of the popular hangman game