Man, deathworm was fun! <img src="smileys/smiley32.gif" border="0" align="middle" />
I would maybe suggest using an array/loop, and having the position of the leading segments pass along the array to the end segements.
So say, your worm is made of a head and four body segments :
[head] - [part1] - [part2] - [part3] - [part4]
On movement -
[Part1] moves to the x,y & angle of [head]
[Part2] moves to the x,y & angle of [Part1]
[Part3] moves to the x,y & angle of [Part2]
[Part4] moves to the x,y & angle of [Part3]