Get a list of neighbours for every node