title: Spread number of items equally across hours
body: <p>I have a variable number of items that I want to spread across a variable amount of hours. The issue I'm having is how to distribute the remainder so that the space between the "overhang" is as equal as possible. For example, if I have 13 items (X) spread across 5 hours I want to end up with</p>
  
  <pre><code>Hours:    1    2    3    4    5
  ---------------------------------
            x    x    x    x    x
            x    x    x    x    x  
            x         x         x
  </code></pre>
  
  <p>I'm not sure if I'm overthinking this. I'm currently checking if the number of items is greater than the number of hours. If that's true, I'm dividing (number of items/number of hours). Then I think that I have to divide (number of hours/remainder)... But for the above example: 5/3=1.6, which rounds to 2. I think that I have to use <code>Math.Floor</code> somehow, but I'm currently not really sure how.</p>
  
  <p>For 4 items across 5 hours, I'd like to end up with the Xs
  For 2 items with the Ys
  For 1 item with the Zs</p>
  
  <pre><code> 1    2    3    4    5
  ------------------------
   x    x         x    x
  
        y         y
  
             z
  </code></pre>
  
  <p>The number of items and the number of hours are variable.</p>
  
  <p>Okay, I think I'm currently on the right track. I'm now trying to split the bins in half and put  one of the remainder in the center-bin. This repeats recursively until the remainder is 0.</p>