sample codes to learn elixir