Longest Path in DAG || Infinite Cycle usign DFS Coloring