2D Physics simulation of particles moving in a vector field with collision detection