added more validation on sudoku.py