added rosettacode.org/wiki/Terminal_control/Topological_sort#FunL task