More sophisticated LatinSquareGraph constructor