Decentralized Collision-Free Control Of Multiple Robots In 2D And 3D Spaces