PHP based hangman game