changed value to weight in edge and added weighted graph generator
nodes are named with characters
fixed syntax error
completed refactor of edges to use weight, not value