https://remp3indir.net/problem-using-prim-algorithm/
problem using prim algorithm