fixed cpu decision bug

now cpu consider correctly the values on the field and the effects of
its own move