Create Pseudocode_for_prob_cv_th