started prim implementation with http://www.cs.washington.edu/education/courses/cse326/07su/prj2/kruskal.html