Separated alpha_beta_minimax and minimax algorithms.