Corrected mistakes in the calculation of previous split heights.  Handled all possible cases of height violations in the valid cut, next height, and the remaining height logic in CalculatePages.  CalculatePages now returns either one page or two pages with the second page containing one column with one rectangle whose id matches the id of the last rectangle on the first page.
Corrected mistakes in the calculation of previous split heights.  Handled all possible cases of height violations in the valid cut, next height, and the remaining height logic in CalculatePages.  CalculatePages now returns either one page or two pages with the second page containing one column with one rectangle whose id matches the id of the last rectangle on the first page.

AlexanderSWilliams/RectangleCompression