Machine ethics: The robot's dilemma