Towards a code of ethics for artificial intelligence. (2017)