<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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]]