Ethical decision system for autonomous vehicles in unavoidable accident scenarios