The code behind Particle Life