use two buffer matrix to Validate Sudoku