node.py: added info on dict used for link info
wrote function to build graph based on text file