I don't know much java, but I'm pretty sure it's just gathering the coordinates of spawn locations, then using a random number generator to...
Separate names with a comma.