permutations and valid sudoku solved