Create Topological Ordering Algorithm Implementation