Implemented mapReduceNeighborhood in Graph and used that to implement
gather in GraphLab.