trying to fix alpha-beta pruning