title: How to create a map from a list of two item tuples in Elixir
body: <p>What would be an elegant way for converting a list of two item tuples like <code>[{1,2},{3,4}]</code> into the map <code>%{1=&gt;2, 3=&gt;4}</code>?</p>
  
  <p>Keyword list would be trivial, but what if we have arbitrary keys?</p>