adding proximity detector class used to determine if neigbors exists