Project euler in Elixir