Project
...
Thought Exercise: Detecting Cycles in Directed Graphs
Think about how to detect cycles in a directed graph.