Sudoku solver and solution counter