started implementing graph-library