added code examples from programming elixir