Basic chat server in written Erlang for rosetta code.