added helpers to sudoku