2013-5: Identity Crisis
An identity matrix is a square matrix (table) of 0 with 1's in the main diagonal.
Write code which produces an n×n identity matrix.
Examples
Implementation
You can also run the tests via ⌘/shift + enter