i have overwritten the x and y components of the first ball with the new x and y components before calculating them for the second ball, great fail i would say ;D
but now ill try another version of doing this, what is much more realistic then this one