Program for solving sudoku