Solve sudoku 9*9 matrix using python