Coding kata in elixir