Continued to build the AI.

This is not fully functional yet.