A connection between a system of random walks and rumor transmission