erlang excersizes