All the code from the Erlang getting started guide http://www.erlang.org/download/getting_started-5.4.pdf