Self-Deployment Algorithms for Mobile Sensors on a Ring