rotate 8x8 matrix help

Im trying to make a function to rotate an 8x8 matrix
here's my code im attempting, It doesn't do anything actually at all so im quite confused
address[8] is the matrix

For(int I; I<8;I++) original[I] = address[I];
for(int y; y<8;y++) for(int x; x<8; x++) bitWrite(address[y],x,bitRead(original[x],y));

I searched online a bit and it doesn't seem to be too often on an arduino, and the other c examples I've found didn't work when I translated it to my example
any help is appreciated

That doesn't even compile, so it can never work.
You need to revise your for loop syntax, and ask yourself what happens if when you use an unitialised loop control

Wow : \ that simple, why sometimes does it not care to be set at 0 and yet now it. Did?

The compiler doesn't care whether or not you initialise the control, you can even omit the initialisation if you want.

However, it will not like "For" which is how I knew that code had never compiled.

Oh that's because its typed on my phone and it does auto capitalize sometimes, it was lowercase in the actual code
now the weird part is it will rotate once then just go back if I do it again
how would you rotate it? Is my double for( attempt worth it?

I just don't get it, my method works on paper atleast to me, but its not doing anything at all in code : / and unfortunetly the internet doesn't have much on this

Ok, deleted the function and entirely rewrote it, fixed it, must have been a typo of some sort or that whole not initializing to zero thing
works perfect