Erlang Project Euler Solutions