detect cycles in digraphs
Merge branch 'master' of https://github.com/anupamk/common-utilz

# By Anupam Kapoor
# Via Anupam Kapoor
* 'master' of https://github.com/anupamk/common-utilz:
  use the graph interface rather than the instance