Topic refactor numberOfNeighbors

- delete old numberOfNeighbors C array
- add trait NumberOfExchanges (can used at compile time)