Erlang Programming (Cesarini,Thompson 2009) exercises