Primitive Graph functions, with goal being to print MST using Primms algorithm.