Working alpha-beta pruning