AI seems to work now,

it makes moves without hiccup and winning more than losing. More testing!