Formula 1 simulation in python