Peristaltic locomotion: application to a worm-like Robot