Programming for the Particle Core