how to create a function which take in a 3 dimensional array of 1 row, 2 column and 3 width. the function will goes through all cells and add 1 to odd values and substarts 1 from even values