Solve problem 119 using Erlang.
Fix calculation of source code statistics.