def free_cells(self):
        """Returns a list of empty cells."""
        return [(x, y)
                for x in range(self.COUNT_X)
                for y in range(self.COUNT_Y)
                if not self.grid[y][x]]