I am writing a program which starts with a random list of ones and zeroes of set length (e.g. [0, 1, 0, 1, 0, 1, 0, 1, 1, 1]). The list represents cars on a road, w
[0, 1, 0, 1, 0, 1, 0, 1, 1, 1]