Tic Tac Toe program for Player vs AI