Prim and Kruskal MST algorithm visualisation