title: Splitting values into groups evenly
body: <p>Let me try to explain the situation the best I can.</p>
  
  <p>Lets say I have 3 values</p>
  
  <pre><code>1, 2, 3
  </code></pre>
  
  <p>I tell an algorithm to split this values into x columns. Lets say x = 2 for clarification.</p>
  
  <p>The algorithm determines that the group of values is best put into two columns the following way.</p>
  
  <pre><code>1st column    2nd column
  ---------------------------
  1             3
  2
  </code></pre>
  
  <p>Each column has an even number (totals, not literals) value.</p>
  
  <p>Now lets say I have the following values</p>
  
  <pre><code>7, 8, 3, 1, 4
  </code></pre>
  
  <p>I tell the algorithm that I want the values split into 3 columns. The algorithm now tells me that the following is the best fit.</p>
  
  <pre><code>1st column    2nd column    3rd column
  8             7             3
                1             4
  </code></pre>
  
  <p>Notice how the columns arent quiet even, but it is as close  as it can get. A little over and a little under is considered ok, as long as the list is AS CLOSE TO EVEN AS IT CAN BE.</p>
  
  <p>Anybody got any suggestions? Know any good methods of doing this?</p>