Change sample code of Étude 6-2 to Elixir.

The current sample code is in Erlang. The change reflects the Elixir version.