Sudoku solving program in C