Create AI.java

Created AI class