Update ArtificialIntelligence.java