A cpp program to check validity of a sudoku board