We now make all possible assignements in the AI.
Completed the first version of the AI.