Epidemic in school model. Java.