Introduction - If you have any usage issues, please Google them yourself
Spiral Matrix Algorithm for programming, along the border each rectangle in turn give the matrix elements of each assignment, in the computer memory to construct a complete spiral matrix, then output.