Added the name-related functions to worm.java