Solve problem 19 using Erlang.
Solve problem 25 using Erlang.