https://9dok.net/document/q2nolp0e-vl-graphalgorithmen-i.html