Exercises for book Programming Erlang