Added a class for generating new AIs on-the-fly, and put together a short test script to make sure it works right.