CS176 work on Particle Assignment