Little Catastrophes: The Topological Structure of Humor and Haiku