A python script to find cycles in directed graphs.