Can autonomous cars learn to be moral?