latin function

Latin square designs and its generalisations as an array