Updated code to handle the case that an input rectangle has a height that spans more than 2 columns.
Updated code to handle the case that an input rectangle has a height that spans more than 2 columns.

AlexanderSWilliams/RectangleCompression