I don't remember the technical term for it, but I imagine it's probably the early stage of a bristleworm. If it was swimming with and oscillating sort of motion, that's more than likely what it was. I've only ever seen them in our tank before/after the lights came on, never while they were on. Someone else will likely chime in on this that knows the official name for it...