Elastic point-mass particle collision simulation with n^2 collision detection