added new GraphItemState GIS_SCAFFOLD. chose best walk for each cc and marked all edges and vertices in best walk as GIS_SCAFFOLD.
implemented function to calculate connected components and all terminal vertices for each connected component