The field of machine ethics aims to build artificial intelligence that can make morally good decisions