Latest code,
now working clock for free training.
Ir sensor register car 1,car 2, car 3