Added getNeighbors functionality to map node.