added the isSolved function to the sudoku class