Refactoring in minimum_spanning_tree_prim class: code duplication removed
Refactoring in minimum_spanning_tree_prim class: code duplication removed

pawel-kieliszczyk/algorithms,pawel-kieliszczyk/algorithms,pawel-kieliszczyk/algorithms,pawel-kieliszczyk/algorithms