Finishing up an Elixir exercise.