Some erlang demo in  book "Learn you some Erlang for great good"