Implemented the Hangman Server