First exercise in Elixir.