Modeling and Simulation of Worms and Mitigation Techniques