added a simple infection model for the network
merged