Added functions to display nodes that made a cycle. This should be modified to highlight edges also.