I think unit tests would be valuable in some places, specifically around the row-removing logic, and the area calculations.