adding set matrix zeroes solution