Added source code for colliding balls