Exercises from the Pragmatic Programming Erlang book