implemented ball collision

collision between balls working