Interlocking cycles

A data structure for interlocking, rotating cycles