TOWARDS A CODE OF ETHICS FOR ARTIFICIAL INTELLIGENCE