added buffered reader
node list graph, split first input into array, set local name with second line input, for loops for creating nodes and adding them to the graph starting with local
edge constructor
logic for setting localnode, while for adding edges to local node
logic in while to find current node, add edge both ways for undirected graph
moved localnode inside while for single length params to initialize input
added comment to split