deleted first part of Comp_prob_6.m