Completed assignment in creating 3 types of worms