Fixed another bug in circle of death. Added connected graph genrator for map reduce bfs