DAIN: A COMPLEX ARTIFICIAL MIND