Implement backtracking Sudoku solver