def toString(s):
    """
    Formats a 2D list Sudoku puzzle into one line of integers
    for easy writing to a file
    """
    output = ""
    for i in range(9):
        for j in range(9):
            output += str(s[i][j])
    return output + "\n"