The structure of Anna Karenina