Colliding Balls Update

actual code for colliding balls