Adding PregelVertex type which encapsulates the vertex and its activeness.