Kids and teens can learn to program using Scratch, the free online tool from MIT. In this video, a multi-segmented worm creature is made. This creature uses Scratch's "broadcast" blocks to keep all the body segments in sync. A creature like this can be used in your own Scratch programs.
Each step from start to finish is explained. Once you learn how to make this program, you can move on to other tutorials or create your own games.