https://9dok.net/document/q05494ll-prim-s-algorithmus-zweite-variante.html