refactor computer_ai, simplify opening_move, win_or_block, and blocking_fork.