single solutin topsort
clean