A self-organizing modular robot that could be used to build future infrastructures on the Moon and Mars