find out neighbors of every nodes