Path following and Edge origine and destination

I implemented the path following code into the main project.
I works but there is a bug when we increase the number of cars.
I also changed the code for origine and destination so they are always
on the edge of the canvas.