Implemented addNewWorm() in the class World