Locomotion in an earthworm