really ugly rotation method but it works

...on 90-degree clockwise square arrays. Hey, it's what they said.
started 1-7, typed up chapter 2 stuff.