can detect if node visited previously based on location and walls