A pregel implementation on Nodejs