SET-MATRIX-ZEROES problem solved with O(m+n) extra space