It looks like they are common bristle worms. It depends on who you talk too, whether they are good or bad

.
They are part of a clean up crew, eating leftover food and other dead things. Just don't touch them with your bare hands the bristles are very irritating