rewrite leetcode sudoku i ii