Errors in Erlang lecture completed