private static boolean compareParticles(Particle p1, Particle p2){
		if(p1.mass != p2.mass)
			return false;
		if(p1.speedX != p2.speedX)
			return false;
		if(p1.speedY != p2.speedY)
			return false;
		if(p1.x != p2.x)
			return false;
		if(p1.y != p2.y)
			return false;
		return true;
	}