Hangman using RMI