Ethics in artificial intelligence