Ai improvements.

Tha can survive up to arround 4 level.