added dodging to AI (quite roughly)