isRectangular

A 2-D array is rectangular if all rows have the same number of elements (columns).

Return

true if the array is rectangular