Fix When a node loop over itself simple_cycles only returns one node
Merge branch 'master' of https://github.com/ldng/linesman into min_duration