A simple demo for topology sorting algorithm with C++