Echo Server's basic implementation in Erlang