Topological Sort - Part of DS&Algo course - Code is in C++