Systems thinking in artificial intelligence