minimax with alpha-beta pruning - scheme - corrected