perturb_2bit function

Apply 2-bit perturbation to escape local optimum