46. Write Your Own Algorithms Using the Pregel API