add conflict detection to sudoku class and test case