set matrix zero with constant space leetcode