erlang study and made a game server