Hangman server, first version