Enumerating all safe elementary cycles

Based on Johnson's algorithm.
Doesn't seem to be useful yet.
And there are too many of them.