Added very simple AI.

AI needs huge improvements. Much too weird for now. But I'm just too
tired to work any more on this today.