Tic Tac Toe- AI for winning and blocking spots