Learn You Some Erlang exercises translated to Elixir