updated assignment op
fixed writing the nodes and directed edges
updated vector setters