Valid sudoku
pre-order traverse