CTCI 1.7: Set row and column of a matrix to 0 if element is 0