title: Breaking a list and tagging each element with an index number
body: <p>How does one split a list which is passed as an argument to a function and tag each element with a number?</p>
  
  <p>The problem I have is how to increment in erlang as there are no for loops.</p>
  
  <p>Thanks </p>