areCellsInSameColumn

fun Dimension.areCellsInSameColumn(cellIndex1: Int, cellIndex2: Int): Boolean

Checks if two cells are in the same column based on their indices.

Throws an IllegalArgumentException with a specific message if either cell index is invalid.