To test their algorithm, the researchers designed and built a system of “smart pebbles”–cubes about 10 millimeters to an edge, with processors and magnets built in. [Photo: M. Scott Brauer via MIT ...