Get rid of dce warnings.
Add a cache to speed up the AI.
Add randomization of AI for equaly good moves.