Angry Kings Server in Erlang