This example shows how to create and use a custom hierarchy of particles.