LeetCode: https://leetcode.com/problems/spiral-matrix-ii/
Given a positive integer n, generate an n x n matrix filled with elements from 1 to n^2 in spiral order.
Example 1:

- Input:
n = 3 - Output:
[[1,2,3],[8,9,4],[7,6,5]]
Example 2:
- Input:
n = 1 - Output:
[[1]]
0
0
0
0
0
0
0
0
0
top=0
bottom=2
left=0
right=2
num=1
Step 1 / 6
Step 1:
Initialize n x n matrix with 0s. Boundaries: top=0, bottom=2, left=0, right=2.
Focus: default
top=0bottom=2left=0right=2num=1