A Markov chain analysis of the dynamics of homophily. (30th June 2019)