basic idea to solve sudoku by filling table first and then filtering its contents