[RESOLVED] 2D Array

The code is working now sort of, if I use |= it works but can't overwrite data with a zero, but if I use &= nothing happens at all...
So what should I do?