isColumnViolated method
Determines if a column is violated by using a Set of Cell values If, while building this Set, a duplicate value is going to be added, then this column is violated No violations are counted for empty cells (cells whose value is 0)
Implementation
bool isColumnViolated(Position position) {
return _doesCellCollectionHaveViolatedCells(getColumn(position.grid!.y as int));
}