Collaborative Algorithms for Localization and Exploration in Multi-Robot Systems