title: Get all possible sums from a list of numbers
body: <p>Let's say I have a list of numbers: 2, 2, 5, 7</p>
  
  <p>Now the result of the algorithm should contain all possible sums. </p>
  
  <p>In this case: 2+2, 2+5, 5+7, 2+2+5, 2+2+5+7, 2+5+7, 5+7</p>
  
  <p>I'd like to achieve this by using Dynamic Programming. I tried using a matrix but so far I have not found a way to get all the possibilities.</p>