added collision detection between balls -- not yet solved the changes in trajectory