added infrastructure for Graph Algorithms