note
johngg
This may be completely off target but the problem reminds me of the mental gymnastics used when solving Sudoku puzzles. I saw a Perl Sudoku solver once and the author had employed the [cpan://Quantum::Superpositions] module and it's <c>any</c> and <c>all</c> functions. Just a thought but perhaps something in there could help you.<p>Cheers,<p>JohnGG
600418
600418