degrees of separation
more on cycle detection

self loops and parallel edges