Rotate N*N array
test