created Select_Particle class and updated select_particle method