solve set-matrix-zeroes