LongestPathInDAG added
Graph classes moved to common.graph