introduce add_particle function and give particle different colors