Spreading Rumors

or. If that person hasn't already been informed of the rumor, that person starts spreading the rumor as well. If that person had already been informed of the rumor, neither person spreads this rumor any further. What should our expectation be for the final percentage of the population that ends up hearing the rumor?

Write a class named RumorSpreader whose main method will simulate this situation. Start with a population of $1000$ people where only one person knows and is spreading the rumor, while the rest of the population does not know the rumor. The main method should display the percentage of the population that ends up hearing the rumor.

Sample run:

A rumor spreads in the following way: a person picks at random 
another person to inform of the rumor. If that person hasn't 
already been informed of the rumor, that person starts spreading 
the rumor as well. If that person had already been informed of 
the rumor, neither person spreads this rumor any further. Starting 
with 999 people who don't know the rumor and one who does and starts 
spreading it, this program will simulate the situation to allow 
one to investigate what percentage of the population ends up knowing 
the rumor...
--------------------------------------------------------------------
In this simulation, the percentage of the population that ended 
up knowing the rumor was 73.3