Solve Sudoku puzzle with recursive function