Erlang and OTP in Action examples translated to Elixir