partial sudoku implementation