Day one Erlang, done all over again (with comments)