implementations of project euler problems in erlang