Added complete code listings of Erlang day 2

I kid you not, one function.