Python: Continue through the list of tasks to create a Sudoku grid.