Coordinating Collective Locomotion in an Amorphous Modular Robot