Colliding Balls with class

balls collide with array and class