An attempt at a Topological sort in Go