A flatworm looks like a nudibranch but indeed it is a worm. It is moving quite faster than a nudibranch and it can swim.
You can find ore info about flatworms at wikipedia.
Gallery (please klick one of the following pictures to start the lightbox):