Can we teach robots ethics?

We are not used to the idea of machines making ethical decisions, but the day when they will routinely do this – by themselves – is fast approaching.