Worked examples from the O'Reilly Erlang book