I have this code that works to change a matrix (image) of values from 0-255 and I want to change it to 4 colors of grays from 0,1,2,3, this code makes the change but the tea