--- from: http://rosettacode.org/wiki/Random_Latin_squares