fixed a variable name: idx -> sofar.
Sudoku Solver