SMS: Structure in medieval narrative