Added a class checking whether the board of sudoku is valid