Basic implementation of BunchedGraph exchanging (for MATLAB).