initGraph

create class graph
init graph from file