additional work on graphAlgorithms