Recursively solves sudoku puzzles