structure of artificial intelligence