another take on trying to format the spiral matrix correctly