Algorithms for Storytelling