Add problem 2 in Erlang.
Clean out some comments.