alphabeta pruning. if ai already lost, it chooses left to bottom but doesn't prolong