Modified edge_node.py according to the modification of Node(in node.py) which is basic class of EdgeNode(in edge_node.py).