With a couple of loops and a bit of maths you can create a rotating spiral.
The 2 hardest problems in programming are naming, cache invalidation, and off-by-one errors.