implement alpha beta pruning