Source
Identify the code used to generate a diagonal matrix
,
which has 0s and 1s
.