Code i wrote when learning elixir.