Generation of quadratic sudokus in any given size