Continued the AI.

*STILL NEEDS WORK*