In this task, the rectangles move the lesser of:
* the number of the spaces for the maroon bars to merge, or
* the number of gray squares available to turn orange
In example 2, the middle rectangle moves to the right by seven
spaces (so that the maroon bars merge). In that case, the black
boundary should still be on the left of the maroon bar.
Fixes issue #35.