Fixed a bug in method isValid in Sudoku class

isValid didn't consider the value 0 (clearing cells)