Minor changes.
Removal and replace of Edge methods inside the Node class (instead of inside the Graph class).
Exception avoidance (IllegalArgumentException, in the parsing, when an ID
of a Node is greater than the number of nodes in the graph.