Narrative as a Dynamical System