creating flame-particle system this is a type of particle system using polymorphism