A recursive solution to a sudoku solver