a markov-chain generator based on the works of Borges