Added cycle detection, order and strong connected components algorithms.