An algorithm designed to find the most efficient path from atom to atom in a bizarre kind of crystal turns out to produce incredibly intricate mazes. As well as making mazes, the technique could help ...