Self-Deployment of Mobile Sensor Networks on a Ring