Exercises from Elixir book "Programming elixir"