Erlang exercises of <<Seven languages in seven weeks>>