Improved AI

-More readable code
-AI will attempt to win and prevent player from winning
from testing, there was only one found sequence to win as a player
-AI will still use the next available square if it cannot win or stop
player from winning in the next move