Tic Tac Toe Game

Tic Tac Toe Game. Stuck on making the AI find the best way to win.