fix
create and testing class Graph
fixed