Really basic AI. It will always block a horizontal or vertical win
Added checks for both diagonals. Now AI will always block a winning move. You have fork it.