Doing those swaps, however, does have rules, and I think the computation may get out of hand I don't have very much experience with sudoku generation, but I know its one of those gray areas in Computer Science, it has to do with the famous P vs. NP problem.