The movie "Pay it Forward" (2000) tells the story of Trevor McKinney - an 11-year-old boy that launched a goodwill movement known as "pay it forward".
In the movie, Trevor's social studies teacher gives the class an assignment to devise and put into action a plan that will change the world for the better.
Trevor's plan is a charitable program based on the networking of good deeds. He calls his plan "pay it forward", which means the recipient of a favor does a favor for three others rather than paying the favor back.

In this assignment, I simulated the spread of good deeds within a community, as a dependency of how many people "paid it forward".