Safe and Ethical Artificial Intelligence