added clearGraph to constucktor in RoadGraph