Topological Sorting for Golang