update tictactoe

added CPU defending.