Solve the Set Matrix Zeroes problem: if a zero is in a matrix, set its entire row and column to zero.
Implement set_zeroes(matrix), modifying the matrix in place and returning it. Use constant auxiliary space, excluding the matrix itself. The input is a non-empty rectangular list of integer lists, and the output is the transformed matrix.
def set_zeroes(matrix):