add alpha-beta cutoff algorithm