Accidents Involving Autonomous Vehicles: Legal Issues and Ethical Dilemmas