Solving Project Euler's Problems in Erlang