refactor
Rotating an NxN matrix 90 degrees