Vehicle Crash Detection Python Code