text: indices: 1 2 3    The storyteller is index 0.    Then the selected index will be as follows:    step: 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16    idx:  0  1  0  2  0  3  0  1  0  2  0  3  0  1  0  2  0    """    if step % 2 == 0:        idx = 0    else:        idx = (step // 2) % (len(agents) - 1) + 1    return idxmax_iters = 20n = 0simulator = DialogueSimulator(    agents=[storyteller] + characters, selection_function=select_next_speaker)simulator.reset()simulator.inject(storyteller_name, specified_quest)print(f"({storyteller_name}): {specified_quest}")print("\n")while n < max_iters:    name, message = simulator.step()    print(f"({name}): {message}")    print("\n")    n += 1    (Dungeon Master): Harry Potter and his companions must journey to the Forbidden Forest, find the hidden entrance to Voldemort's secret lair, and retrieve the horcrux guarded by the deadly Acromantula, Aragog. Remember, time is of the essence as Voldemort's power grows stronger every day. Good luck.            (Harry Potter): I suggest we sneak into the