Alpha beta pruning basic framework