Rotating an Image Matrix

next task complete