Printing For Non square Matrices

I did’nt understand the conditions for Spiral printing of Non sqaure Matrices in lecture