Part 2 of the assignment on worms