added a function to collect the neighborhood of a vertex as well as the skeleton of the program for classic pregel