Made a function of board to count cars between red and exit