title: Add list of tuples of integers in Scala
body: <p>I wish to add a list of tuples of integers i.e. given an input list of tuples of arity <em>k</em>, produce a tuple of arity <em>k</em> whose fields are sums of corresponding fields of the tuples in the list.</p>
  
  <h3>Input</h3>
  
  <pre><code>List( (1,2,3), (2,3,-3), (1,1,1)) 
  </code></pre>
  
  <h3>Output</h3>
  
  <pre><code>(4, 6, 1)
  </code></pre>
  
  <p>I was trying to use <code>foldLeft</code>, but I am not able to get it to compile. Right now, I am using a <em>for</em> loop, but I was looking for a more concise solution.</p>