elastic collision considering balls to be point object
next thing to consider the radius and make the elastic collision