Add Elixir implementation of factorial