Fixed problems with inverting graph but it seems like the CarDemo is still stuck in a loop. Not sure if related... Also added MapGenerators to the code.: