Renamed lineGraph to pathGraph (fixes incorrect naming)