Enemy Car ,,Intelligence"

Hello!
I’m new to Unity an i’ve been working with the Unity Car Tutorial…i managed to create my car…script it,etc.
Now I want to make some enemy cars that I can race with…i’ve been reading about AI,and i created a small waypoint script that a cube follows…but it’s not enough …
Can anyone help me script or at least give a tutorial that can help me?
Thanks…

AI cars should something similar to a flocking AI so that they are mindful of cars to their left and right as well as maintaining an appropriate distance from the car in front of them.