Adds getNeighborsAndSelf

Method for retrieving current node and its neighbors.