How would you write a function to change all elements of row i and column j in a matrix to 0 if cell (i, j) is 0?