adding primm_alorythm
cleaning