Create dfs_detect_cycle.cpp