Octave script to generate a connections structure which describes the component names at the head and tail of each bond of a (possibly vector-expanded) system.