Created a particle class for ball
added particle class