Solution for sudoku tester