completed preliminary graph library, works pretty great... also implemented kruskal correctly, using qunit for testing