started to import data structure into a graph structure,

 should rework the graph data structure for more convienience,
the graph structure has a bug and imports everything as node id = 0