Modular Robots: Theory and Practice