BASIC artificial intelligence