Algorithms For Modeling Mass Movements And Their Adoption In Social Networks