add alpha-beta pruning